package com.group5.onlinegame.service;

import com.group5.onlinegame.entity.Announcement;
import com.group5.onlinegame.entity.AnnouncementType;

import java.util.List;

public interface IAnnouncementService {

    List<Announcement> getAnnouncement();
    Integer delAnnouncement(Integer id);
    List<AnnouncementType> getAnnouncementType();
    Integer createNewAnnouncement(Announcement announcement);
    Integer updateAnnouncement(Announcement announcement);
    Announcement getOneAnnouncement(Integer id);
}
